package com.eric.domain.dto;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CompanyInfoDTO {

    private Integer id;

    @NotBlank(message = "公司名不能为空")
    private String companyName;

    @NotBlank(message = "公司信息不能为空")
    private String companyInfo;

    private String createTime;

    private String updateTime;

    private String description;
}
